Methods and systems for printing vibrant grey colors on plastic cards

ABSTRACT

Methods and systems are disclosed for printing vibrant grey color(s) on plastic cards. The following features, which can be used individually or in any combination thereof, can be implemented to achieve the vibrant grey color(s): 1) use of CMYK pigment inks to achieve CMYK printing; 2) a pixel extraction process and/or a print trapping process; 3) two separate print commands including a CMY (or CMYK)+blending print command and a K+blending print command; and 4) proper card set-up.

FIELD

This disclosure relates generally to printing on plastic cardsincluding, but not limited to, financial (e.g., credit, debit, or thelike) cards, driver's licenses, national identification cards, businessidentification cards, gift cards, and other plastic cards.

BACKGROUND

Plastic cards are commonly printed using a suitable printing mechanismin a card processing system. One known plastic card printing mechanismis a retransfer printer. Retransfer printing is a known printing processwhere an image is printed by a printing mechanism onto an intermediateretransfer material. After the image is printed, the intermediateretransfer material is transferred by lamination onto the surface of theplastic card that is to bear the printed image. Further information onretransfer printing can be found in, for example, U.S. Pat. No.6,894,710 which is incorporated herein by reference in its entirety.Another known plastic card printing mechanism is a direct-to-cardprinting mechanism where the printing is applied directly to a surfaceof the plastic card from a print ribbon.

Most plastic card printing uses CMY printing, not CMYK. Printing blacktext and barcodes using black dye-printing lacks sufficient density(i.e. darkness), so instead greys are printed using cyan (C), magenta(M), yellow (Y) blended together. Due to limitations of not being ableto consistently balance the C, M and Y to produce a neutral grey, thesecomposite greys tend to have shades of cyan, magenta or yellow.

SUMMARY

Methods and systems are disclosed for printing vibrant grey color(s)and/or specialty colorant materials (e.g., gold, silver) on plasticcards such as financial (e.g., credit, debit, or the like) cards,driver's licenses, national identification cards, businessidentification cards, gift cards, and other plastic or composite cardswhich bear personalized data unique to or assigned specifically to thecardholder and/or which bear other card information. The term “plasticcard” as used herein is intended to encompass cards that are completelyor substantially plastic, as well as cards that have non-plastic orcomposite components and cards having other formulations that functionlike the card types indicated above. Cards that are encompassed by theterm “plastic cards” often bear printed personalized data unique to orassigned specifically to the cardholder, such as the name of thecardholder, an account number, an image of the face of the cardholder,and other data. In some embodiments, the cards can include a magneticstripe and/or integrated circuit chip that holds/stores personalizeddata unique to or assigned specifically to the cardholder.

Four features described herein, which can be used individually or in anycombination thereof, can be used to achieved vibrant grey color(s)printed on plastic cards. The four features include: 1) use of CMYKpigment inks to achieve CMYK printing; 2) a pixel extraction processand/or a print trapping process; 3) two separate print commandsincluding a CMY (or CMYK)+print trapping/blending print command and a K(black)+print trapping/blending print command; and 4) proper cardset-up.

A card that is printed with the vibrant grey color(s) as describedherein may also be referred to as a vibrant grey card. A grey card is aplastic card where any portion of a surface of the plastic card isprinted with one or more grey colors. In some embodiments, the vibrantgrey can form a background image that is printed on either the front orback surface of the plastic card. In other embodiments, the vibrant greycan form text that is printed on either the front or back surface of theplastic card. The vibrant grey described herein can form any printing onany surface (i.e. front and/or back) of the plastic card.

The term color as used herein can refer to colors other than those (forexample, grey, black, white, gold, and/or silver, etc.) that arerendered by a monochrome ribbon (e.g. Black, Gold, Silver, etc.), suchas red, green, blue, yellow, and the like. The surface of a grey carddescribed herein may be printed entirely grey with one or more shades ofgrey. The surface may also include printed black color and/or whitecolor formed by either the material of the plastic card substrate or byprinting ink to achieve the white color. The surface may also includeprinted colors such as CMY, red, green, blue, colors resulting fromcombinations of CMY, and the like.

Printing on a surface of plastic card as described herein includesretransfer printing, direct-to-card printing, and any other printingtechnique employing CMYK printing that results in grey printed on asurface of the plastic card.

In one embodiment, a method of printing on a surface of plastic card ina plastic card printing mechanism can include obtaining a source digitalimage. Each pixel of the source digital image is then scanned toidentify each pixel as either color or monochrome. A color digital imageis generated from the identified color pixels and a monochrome digitalimage is generated from the identified monochrome pixels. To generatethe color digital image, it is determined if red, green, blue (RGB)values of each pixel of the source digital image are substantiallyequal, and for every pixel of the source digital image where the RGBvalues are substantially equal, every pixel with substantially equal RGBvalues is replaced with a white pixel. In addition, to generate themonochrome digital image, every pixel at coordinates corresponding tothe replaced pixels in the color digital image is replaced with greypixels. The color digital image and the monochrome digital image arethen sent to the plastic card printing mechanism, and the color digitalimage is printed on the surface of the plastic card using cyan, magentaand yellow pigment ink and the monochrome digital image is printed onthe surface of the plastic card using black pigment ink to produce acombined image on the surface.

In one embodiment, when printing on the surface of a plastic card, twoimages are generated: one image (the color image) targets the CMYpigment ribbons and the other image (the monochrome image) targets themonochrome ribbon (e.g. Black, Gold, Silver, etc.). In some embodiments,the monochrome ribbon can be a pigment ribbon. It will be appreciatedthat there can be a few methods to achieve this goal. In one embodiment,a source image can be used as a template for creating the color andmonochrome images. In such embodiment, the color and monochrome imageshave the same dimension (for example, width and height) as the sourceimage. Initially, when the color and monochrome images are created, thecolor and monochrome images can be all white, black, or otherwiseundefined in the pixel make-up. After the color and monochrome imagesare created, the source image can be scanned (for example,pixel-by-pixel). The methods and system described herein can determinewhich image (color or monochrome) to copy (or draw) the pixel at the xand y coordinates corresponding to the original position of the pixel onthe source image. In another embodiment, the source image can be used asthe color image and a monochrome image (of equal dimension of the sourceimage) can be created by scanning the source image, detecting (via themethods and systems described herein) which pixels of the source imageshould be copied (drawn) onto the monochrome image, and after copyingthe pixel of the source image to the monochrome image, replacing thepixel on the color image with a white pixel (indicating that the pixelis not to be rendered by, for example, the CMY ribbons). In yet anotherembodiment, the source image can be used as the monochrome image, and acolor image (of equal dimension of the source image) can be created byscanning the source image, detecting (via the methods and systemsdescribed herein) which pixels of the source image should be copied(drawn) onto the color image, and after copying the pixel of the sourceimage to the color image, replacing the pixel on the monochrome imagewith a white pixel (a concept known as punch-out).

In another embodiment, a method of printing on a surface of plastic cardin a plastic card printing mechanism can include obtaining a sourcedigital image. Each pixel of the source digital image is then scanned toidentify each pixel as either color or monochrome, and a color digitalimage is generated from the identified color pixels and a monochromedigital image is generated from the identified monochrome pixels. Whengenerating the color digital image, print trapping is applied, and whengenerating the monochrome digital image print trapping is also applied.The color digital image and the monochrome digital image are then sentto the plastic card printing mechanism, and the color digital image isprinted on the surface of the plastic card using cyan, magenta andyellow pigment ink and the monochrome digital image is printed on thesurface of the plastic card using black pigment ink to produce acombined image on the surface.

In still another embodiment, a method of printing on a surface ofplastic card in a plastic card printing mechanism can include obtaininga source digital image. Each pixel of the source digital image is thenscanned to identify each pixel as either color or monochrome. A colordigital image is generated from the identified color pixels and amonochrome digital image is generated from the identified monochromepixels. To generate the color digital image, it is determined if red,green, blue (RGB) values of each pixel of the source digital image aresubstantially equal, and for every pixel of the source digital imagewhere the RGB values are substantially equal, every pixel withsubstantially equal RGB values is replaced with a white pixel. Inaddition, when generating the color digital image, print trapping isapplied. In addition, to generate the monochrome digital image, everypixel at coordinates corresponding to the replaced pixels in the colordigital image is replaced with grey pixels. In addition, when generatingthe monochrome digital image, print trapping is also applied. The colordigital image and the monochrome digital image are then sent to theplastic card printing mechanism, and the color digital image is printedon the surface of the plastic card using cyan, magenta and yellowpigment ink and the monochrome digital image is printed on the surfaceof the plastic card using black pigment ink to produce a combined imageon the surface.

In yet still another embodiment, a plastic card printing mechanism forprinting on a surface of a plastic card is disclosed. The plastic cardprinting mechanism can include a print head. The plastic card printingmechanism can also include a print ribbon having cyan, magenta, yellowand black pigment ink ribbon panels. The plastic card printing mechanismcan further include a controller. The controller can be configured toscan each pixel of a source digital image to identify each pixel aseither color or monochrome. The controller can also be configured togenerate a color digital image from the identified color pixels and amonochrome digital image from the identified monochrome pixels. Thecontroller can further be configured to perform at least one of thefollowing: a) for the color digital image, replace every pixel atcoordinates corresponding to the monochrome pixels with white pixels;and for the monochrome digital image, replace every pixel at coordinatescorresponding to the color pixels with white pixels; b) apply printtrapping when generating the color digital image, and apply printtrapping when generating the monochrome digital image; c) a) and b);d) 1) for the color digital image, determine if red, green, blue (RGB)values of each pixel of the source digital image are substantiallyequal, and for every pixel of the source digital image where the RGBvalues are substantially equal, replace every pixel with equal RGBvalues with a white pixel; and 2) for the monochrome digital image,replace every pixel at coordinates corresponding to the replaced pixelsin 1) with grey pixels; or e) b) and d). Also the controller can beconfigured to send the color digital image and the monochrome digitalimage to the plastic card printing mechanism. The plastic card printingmechanism can be configured to print the color digital image on thesurface of the plastic card using the cyan, magenta and yellow pigmentink ribbon panels and print the monochrome digital image on the surfaceof the plastic card using the black pigment ink ribbon panel to producea combined image on the surface. In addition, the plastic card printingmechanism can be configured to print the color digital image and themonochrome digital image on a transferrable printing receptive layer ofa retransfer material to produce the combined image, and thereaftertransfer the transferrable printing receptive layer containing thecombined image to the surface of the plastic card. Furthermore, thesource digital image can contain two or more of a background image, acard issuer name, a card issuer logo, a personal account number, acardholder name, an expiration date, a payment network name, and apayment network logo. Moreover, the plastic card can include a financialcard having at least one of a magnetic stripe and an integrated circuitchip. In addition, the controller can be configured to scan each pixelin the source digital image to detect monochrome pixels. For eachdetected monochrome pixel, the controller can be configured to determineif there are neighboring color pixels. If there are neighboring colorpixels, the controller can be configured to add the detected monochromepixel to the color digital image. If there are not neighboring colorpixels, the controller can be configured to change the detectedmonochrome pixel to a white pixel. Furthermore, the controller can beconfigured to scan each pixel in the source digital image to detectcolor pixels. For each detected color pixel, the controller can beconfigured to determine if there are neighboring monochrome pixels. Ifthere are neighboring monochrome pixels, the controller can beconfigured to change the detected color pixel to a monochrome pixel andadd the monochrome pixel to the monochrome digital image.

In yet still another embodiment, a plastic card processing mechanism isdisclosed. The plastic card processing mechanism can include the plasticcard printing mechanism of the above embodiment. The plastic cardprocessing mechanism can also include at least one of the followingmechanisms: a laminating mechanism, an integrated circuit chipprogramming mechanism, a magnetic stripe read/write mechanism, anembossing mechanism, an indent printing mechanism, a card cleaningmechanism, a laser mechanism, or a card de-bowing mechanism.

The techniques described herein can be implemented in any type ofplastic card printing mechanism that uses CMYK printing. The plasticcard printing mechanism can be used in a desktop plastic card printerthat has a relatively small footprint intended to permit the desktopplastic card printer to reside on a desktop and that is designed topersonalize plastic cards in relatively small volumes, for examplemeasured in tens or low hundreds per hour. An example of a desktopplastic card printer is the CD800 Card Printer available from EntrustDatacard Corporation of Shakopee, Minn. Additional examples of desktopprinters are disclosed in U.S. Pat. Nos. 7,434,728 and 7,398,972, eachof which is incorporated herein by reference in its entirety. Theplastic card printing mechanism can also be part of a large volume batchplastic card production machine, often configured with multipleprocessing stations or modules, typically referred to as a centralissuance system, that processes multiple plastic cards, at the same timeand is designed to personalize plastic cards in relatively largevolumes, for example measured in the high hundreds or even thousands perhour. An example of a central issuance system is the MX or MPR-lines ofcentral issuance systems available from Entrust Datacard Corporation ofShakopee, Minn. Additional examples of central issuance systems aredisclosed in U.S. Pat. Nos. 4,825,054, 5,266,781, 6,783,067, and6,902,107, all of which are incorporated herein by reference in theirentirety. In some embodiments, the card printer (desktop or centralissuance) can include a mechanism to read and/or write data to amagnetic strip and/or program an integrated circuit chip on the card.

DRAWINGS

FIG. 1A represents a source digital image containing grey pixels andcolor pixels represented by cells as described herein.

FIG. 1B illustrates a source digital image containing grey areas andcolor areas as described herein.

FIG. 1C illustrates a generated color digital image resulting from FIG.1A with all grey pixels of the source digital image in FIG. 1A beingextracted using a pixel extraction process described herein.

FIG. 1D illustrates a generated color digital image resulting from FIG.1B with all grey pixels of the source digital image in FIG. 1B beingextracted using the pixel extraction process described herein.

FIG. 1E illustrates a generated monochrome digital image resulting fromFIG. 1A with all color pixels of the source digital image in FIG. 1Abeing extracted using the pixel extraction process described herein.

FIG. 1F illustrates a generated monochrome digital image resulting fromFIG. 1B with all color pixels of the source digital image in FIG. 1Bbeing extracted using the pixel extraction process described herein.

FIG. 2A illustrates a source digital image with registration variance todemonstrate the need for print trapping.

FIG. 2B is an enlarged view of a portion of FIG. 2A to better illustratethe registration variance.

FIG. 2C illustrates a generated color image (represented by cells) withprint trapping applied as described herein.

FIG. 2D illustrates a generated color digital image (based on the sourcedigital image in FIG. 2A) with print trapping as described hereinapplied.

FIG. 2E illustrates a final printed image based on the generated colordigital image of FIG. 2D and a generated monochrome digital image basedon the source digital image in FIG. 2A, with print trapping as describedherein applied.

FIG. 2F is an enlarged view of a portion of FIG. 2E.

FIG. 2G illustrates a generated monochrome digital image (represented bycells) with print trapping as described herein applied.

FIG. 3A illustrates the concept of pixel spread used in the printtrapping described herein.

FIG. 3B illustrates an example of a possible pixel evaluation order inthe print trapping described herein.

FIG. 3C illustrates an example of a possible continuation of the pixelevaluation order of FIG. 3B.

FIG. 3D illustrates still another example of a possible continuation ofthe pixel evaluation order of FIG. 3C.

FIG. 4A illustrates a printed color image without print trappingdescribed herein applied.

FIG. 4B illustrates a printed color image similar to FIG. 4A but withthe print trapping described herein applied.

FIG. 4C illustrates a printed color image similar to FIG. 4A but withprint trapping and liner blending described herein applied.

FIG. 5 illustrates a flow chart depicting steps in generating the colordigital image from the source digital image.

FIG. 6 illustrates a flow chart depicting steps in generating themonochrome digital image from the source digital image.

FIG. 7 illustrates a portion of a plastic card printing mechanism usedin a plastic card processing mechanism.

Like reference numbers represent like parts throughout.

DETAILED DESCRIPTION

Techniques are described below for printing, for example, vibrant greycolor(s) on plastic cards such as financial (e.g., credit, debit, or thelike) cards, driver's licenses, national identification cards, businessidentification cards, gift cards, and other plastic or composite cardswhich bear personalized data unique to or assigned specifically to thecardholder and/or which bear other card information. The term “plasticcard” as used herein encompasses cards that are completely orsubstantially plastic, as well as cards that have non-plastic orcomposite components and cards having other formulations that functionlike the card types indicated above. Cards that are encompassed by theterm “plastic cards” often bear printed personalized data unique to orassigned specifically to the cardholder, such as the name of thecardholder, an account number, an image of the face of the cardholder,and other data.

The following features can be implemented to achieve vibrant greycolor(s) printed on plastic cards. The features can be used individuallyor in any combination thereof. The features include: 1) use of CMYKpigment inks to achieve CMYK printing; 2) a pixel extraction processand/or a print trapping process; 3) two separate print commandsincluding a CMY (or CMYK)+blending print command and a K+blending printcommand; and 4) proper card set-up.

CMYK Printing

There are two primary types of ink traditionally used for printing onplastic cards:

-   -   a. Dye inks: dye inks interact with the plastic card surface by        seeping into the plastic material and completely absorbs into        the card surface. In plastic card printing, dye inks are not        typically dithered when printed because the print head has fine        control over the amount of dye transferred to produce dozens of        different shades directly.    -   b. Pigment inks: pigment inks bond to the top surface of the        card and sits on top of the plastic material. Print heads        printing with pigment inks can generally only generate a few        distinct dot sizes on the card surface, which results in very        few shades of each color. Thus, in plastic card printing, the        use of pigment inks typically require a printed image to be        dithered (e.g. using a clustered-dot dither) in order to get an        acceptable number of different shades of each color on the card        surface.

Dye inks generally only come in three primary printing colors (C, M, Y)because K dye inks cannot achieve the density required to produce goodblack colors on plastic card substrates. Therefore, plastic cardprinting mechanisms that use dye ink must use a pigment ink for their Kink. Because the appearance of dithered pigment K ink sitting on top ofthe card surface looks very different from the non-dithered colored dyeCMY inks that absorb into the card surface, color printing on plasticcards with dye cannot use black for true CMYK printing (where the Kpigment ink is used to blend with the C, M and Y pigment inks in aprinted image). Dye inks are limited to CMY printing for the colorportion of a card image and K pigment ink printing for any blackpersonalization data and black bar codes.

To achieve vibrant grey color(s) on plastic cards as described herein,CMYK pigment inks are used to produce CMYK printing on the plasticcards. In one embodiment, the CMYK printing can include CMY+K printing.In such embodiment, the color image is rendered with CMY (where the K isnot blended), and the monochrome image is rendered with K. In anotherembodiment, the CMYK printing can include CMYK+K printing. In suchembodiment, the color image is rendered with CMYK (to support, forexample, true CMYK printing where the K is blended), and the monochromeimage is rendered with another K (for example, another K ribbon). Allfour of the CMYK pigment inks have similar characteristics which allowthe production of a high-quality color image on the plastic card. TheCMYK pigment inks can be provided on a common ink ribbon with thepigment ink disposed on a carrier, with the CMYK pigments inks arrangedin a repeating sequence of discrete, alternating CMYK panels as is wellknown in the art. In another embodiment, the CMYK pigment inks can eachbe provided on their own ink ribbon (i.e. a C ribbon, an M ribbon, a Yribbon, and a K ribbon), with the plastic card being sequentiallytransported past each ink ribbon for printing of each CMYK color. Inaddition, some of the panels can contain an additional or specialtycolorant material that is not CMYK pigment ink. Examples of additionalor specialty colorant materials include, but are not limited to, asilver colorant material and/or a gold colorant material. In addition,in some embodiments, some of the panels can be fluorescent materialpanels that are used to print a fluorescent material. The fluorescentmaterial (if used) is generally transparent to allow viewing of printingthat may end up underneath the fluorescent material. In addition, theprint ribbon can contain additional panels in each sequence such as apanel of overlay material. It will be appreciated that in addition toribbon(s), laser and/or inkjet (for example, drop on demand inkjet)printing can be used to print pigment.

Pixel Extraction and/or Print Trapping

Two separate data processing techniques can be performed on a sourcedigital image to improve the resulting printed image on the plasticcard. One data processing technique will be referred to herein as pixelextraction. The other data processing technique will be referred toherein as print trapping. In some embodiments, the pixel extraction andprint trapping can be used together. In other embodiments, only pixelextraction can be used without print trapping. In still otherembodiments, only print trapping can be used without pixel extraction.

Pixel extraction is a process that scans a source image, for the purposeof generating two distinct images: a color image which will be renderedwith, for example, CMY or CMYK, and a monochrome image which will berendered with a monochrome ribbon (e.g. Black, Gold, Silver, etc.). Allpixels of the source image are scanned (or inspected) to determine whichpixel should be copied (drawn) on the color image and which pixel shouldbe copied (drawn) on the monochrome image. The use of a monochromeribbon, and targeting specific pixels to be rendered by the monochromeribbon, can provide the ability to apply spot color (of the specificpixels) anywhere on the final printed image(s). In the description ofthe methods and systems below, an example of grey pixel extraction andspot color are used to clarify the concepts. It will be appreciated thatthe technique described herein can be applicable to any other spot color(of the specific pixels), such as Gold and Silver.

For grey pixel extraction targeting a black monochrome pigment ribbon,two images are generated: a color image that contains all the color(i.e., non-grey) pixels of the source image with all the grey pixelsbeing extracted (for example, filled with white pixels), and amonochrome image that contains all the grey pixels of the source imagewith all the color pixels being extracted (for example, filled withwhite pixels). Pixel extraction can allow proper control of printing thegrey pixels and save cost by using black (K) to control the process thanusing the corresponding amounts of colored inks (for example, CMY orCMYK).

In one embodiment, a source image for printing is scanned pixel bypixel. The source image includes a front card image and a back cardimage for the plastic card printers. The source image can be a compositeimage that includes all relevant text (e.g. Personal Account Number,customer's name, etc.), customer's photo and/or background image. Thesource image can be a source digital image. Each pixel of the sourceimage can be represented as a 24-bit RGB or a 32-bit Alpha-RGB pixel orthe like. It will be appreciated that 8-bit and/or 64-bit RGB (orAlpha-RGB) source image can be used as well. Scanning the source imagecan be defined as processing the digital data of the digital sourceimage pixel by pixel. A color image and a monochrome image can begenerated through the scan process. The generated color image cancontain all the color (i.e., non-grey) pixels of the source image withall the grey pixels of the source image extracted (i.e., filled withwhite pixels). The generated color image can be 24-bit RGB or 32-bitAlpha-RGB image (same as the source image). The generated monochromeimage can contain all the grey pixels of the source image with all thecolor pixels of the source image extracted (i.e., filled with whitepixels). The generated monochrome image can be an 8-bit (256 greyscalepixels) monochrome image.

In an embodiment, each of the color image and the monochrome image canstart with an image that has the same dimensions as the source image butfilled with all white pixels. In another embodiment, each of the colorimage and the monochrome image can start with an empty image. During thescanning process, the source image is scanned pixel by pixel. Typically,a pixel is defined by its RGB values (or ARGB values for Alpha-RGB). Anembodiment that uses grey pixel extraction is described herein as anexample. In such embodiment, if the RGB values of the pixel of thesource image are determined to be all equal or substantially equal (forexample, R=100, G=100, B=100), the pixel is determined/defined as a grey(i.e., monochrome) pixel. The grey pixel of the source image is added(or copied) to the monochrome image at the equivalent coordinates withrespect to the source image. In the color image, the equivalentcoordinates with respect to the grey pixel of the source image containsan originally filled white pixel. If the RGB values of the pixel of thesource image are determined to be not all substantially equal (forexample, R=10, G=100, B=255), the pixel is determined/defined as anon-grey pixel (i.e., a color pixel). Under such definitions, a whitepixel (R=255, G=255, B=255) is a grey pixel, a black pixel (R=0, G=0,B=0) is a grey pixel, and anything that is not a grey pixel is a colorpixel. It will be appreciated that in some embodiments, white pixels arereferred to (see, for example, FIGS. 5 and 6) although white pixels areconsidered grey pixels under the definition of grey pixel. It will alsobe appreciated that the definition of grey pixel is used to describe anembodiment of grey pixel extraction.

If the pixel of the source image is a color pixel, the color pixel isadded (or copied) to the color image at the equivalent coordinates withrespect to the source image. In the monochrome image, the equivalentcoordinates with respect to the color pixel of the source image containsan originally filled white pixel.

The above pixel extraction process can be an essential step as theprocess allows for the rendering of grey pixels using K pigment andcolor pixels using CMY pigment—the color image (that contains all colorpixels) can be printed using CMY (or CMYK) pigment, and the monochromeimage (that contains all grey pixels) can be printed using K pigment.

In one embodiment, the above definition of a grey pixel (i.e., if theRGB values of the pixel are determined to be all equal or substantiallyequal (for example, R=100, G=100, B=100), then the pixel is defined as agrey pixel) may not be sufficient as there are many colors which appeargrey to the eye but where the RGB values are not equivalent. Thosecolors are defined as perceptual grey. For example, a pixel with RGBvalues (R=100, G=99, B=101). Depending on the background image (forexample, the monochrome image) of the plastic card, there may be largeareas of perceptual grey which end up on the color image due to theabove definition of a grey pixel. To compensate the strict definition, agreyscale variance value is used in the definition of the grey pixel.The greyscale variance value provides a certain tolerance on what isconsidered grey during the pixel scanning process of the source imagewhen generating the color and/or monochrome images.

In one embodiment, a formula is used to calculate the greyscale variancevalue. The formula calculates a midpoint (which is the greyscalevariance value) between the maximum value and the minimum value of thethree RGB values. Then the midpoint is compared to a thresholdconfigured by the user during printing setup. If the midpoint is belowor at the threshold, the pixel is considered as a grey pixel and isadded to the monochrome image. If the midpoint is above the threshold,the pixel is considered as a color pixel and is added to the colorimage. The formula can be presented in pseudo code as:min=MIN(R,G,B)max=MAX(R,G,B)midpoint=(max−min)/2IsGrey=(midpoint<=threshold)

For example, for a pixel with RGB values (R=100, G=99, B=101) and thethreshold is set to 1, min=MIN(R,G,B)=MIN (100,99,101)=99,max=MAX(R,G,B)=MAX(100,99,101)=101, midpoint (i.e., the greyscalevariance value)=(max−min)/2=(101−99)/2=1, the equation “midpoint (whichis 1)<=threshold (which is 1 in this example)” is TRUE, and IsGrey isTRUE. Therefore, the pixel with RGB values (R=100, G=99, B=101) of thesource image is considered as a grey pixel and is added into themonochrome image.

It will be appreciated that before the near-grey color pixel (theperceptual grey pixel, where IsGrey is TRUE) in the above example can beadded to the monochrome image, the near-grey color pixel has to beconverted to greyscale (i.e., a grey pixel with RGB values being allequal). There are a number of ways for the conversion and a user isprovided with many configurable options. In the above example the RGBvalues of the near-grey color pixel can be converted to all min values(R=99, G=99, B=99), all max values (R=101, G=101, B=101), or mid valuessuch as (R=100, G=100, B=100).

For another example, for a pixel with RGB values (R=99, G=96, B=100) andthe threshold is set to 1, min=MIN(R,G,B)=MIN (99,96,100)=96,max=MAX(R,G,B)=MAX(99,96,100)=100, midpoint (i.e., the greyscalevariance value)=(max−min)/2=(100−96)/2=2, the equation “midpoint (whichis 2)<=threshold (which is 1 in this example)” is FALSE, and IsGrey isFALSE. Therefore, the pixel with RGB values (R=99, G=96, B=100) of thesource image is considered as a color pixel and is added into the colorimage.

A print head with a multi-color print ribbon can be used when performingmulti-color printing on substrates such as plastic cards, passportpages, and retransfer films. The multi-color print ribbon can include aplurality of panels of CMYK. A controller can be operably coupled to theprint head to control operation of the print head. In one embodiment,the scanning process can be performed by a controller. The scanningprocess can generate a color image that is equivalent to the sourceimage with all the grey pixels extracted (for example, filled with whitepixels), and a monochrome image that is equivalent to the source imagewith all the color pixels extracted (for example, filled with whitepixels). In one embodiment, the controller send the generated colorimage and the generated monochrome image to the plastic card printerwith two separate function calls to specify which ribbon panels to usefor image rendering (CMY for the color image or K for the monochromeimage).

FIG. 1A illustrates a source image containing grey and color pixelsrepresented by cells. As shown in FIG. 1A, the source image isrepresented by 5×5 cells. Each cell represents a pixel. The solidshading cells 700 represent grey pixels. The grid shading cells 705represent color pixels. FIG. 1B illustrates a source image containinggrey and color areas. In FIG. 1B, the ellipse-shaped logo 710 is incolor, other areas (such as the background 715 and the text “PlasticCard” 720) are white, grey, or black.

FIG. 1C illustrates a generated color image with all grey pixels of thesource image in FIG. 1A being extracted. In FIG. 1C, cells 725 arewhite. The grid shading cells 730 represent color pixels. FIG. 1Dillustrates a generated color image with all grey pixels of the sourceimage in FIG. 1B being extracted. In FIG. 1D, the ellipse-shaped logo710 is in color, the text 720 is white.

FIG. 1E illustrates a generated monochrome image with all color pixelsof the source image in FIG. 1A being extracted. In FIG. 1E, the solidshading cells 735 represent grey pixels. Cells 740 are white. FIG. 1Fillustrates a generated monochrome image with all color pixels of thesource image in FIG. 1B being extracted. In FIG. 1B, the ellipse-shapedlogo is extracted (shown as 745 in white), and other areas (such as thebackground 715 and the text 720) are white, grey, or black.

Print trapping can be defined as a process to create an overlap ofpixels between the color image and the monochrome image which allows forsome variance in the printer registration and avoids gaps between CMYand K regions. When generating the color image and the monochrome image,pixels of the color and monochrome images are aligned such that eachpixel has a non-white RGB value in one image or in the other image, butnot in both images. In such case, minor registration variance(misregistration) can result in creating areas in which the cardsubstrate shows through.

In color printing, registration typically refers to a method ofcorrelating overlapping colors on one single image. When printing animage that has more than one color, it is necessary to print each colorseparately and ensure each color overlaps the others precisely.Otherwise, the finished image will look fuzzy, blurred, or “out ofregister”. To help line the colors up correctly, a system ofregistration is necessary. There can be different styles and types ofregistration, many of which can employ the alignment of specific marks.However, practically, minor registration variance of the printer ribbonpanels may still exist. FIG. 2A illustrates a source image withregistration variance. In FIG. 2A, the background 210 is black, therightmost vertical bar 200 and the bottom horizontal bar 205 are grey,and the rest vertical bars and horizontal bars are in different colors(shown in black and/or grey) and are out of register at the edges of thevertical/horizontal bars (see also FIG. 2B). FIG. 2B is an enlarged viewof a portion of FIG. 2A. In FIG. 2B, the background 210 is black, therightmost vertical bar 200 is grey, and the rest vertical bars andhorizontal bars are in different colors (shown in black and/or grey).The edges 202 of the color vertical bars and the edges 204 of the colorhorizontal bars show that the edges of the vertical/horizontal colorbars are blur (out of register).

Therefore, when printing the generated color and monochrome images,there might be limitations because of the requirements of pixel-perfectregistration of the printer ribbon and application of the CMY and Kpanels. To compensate for the minor registration variance of the printerribbon panels, the technique of print trapping can be applied to thecolor and/or monochrome images.

In one embodiment, during the scanning of the source image, each of thedetected grey pixels of the source image is further evaluated orchecked. If there is/are neighboring color pixel(s) in the source imageto the grey pixel, the grey pixel is added to the color image at theequivalent coordinates with respect to the source image. If there is/areno neighboring color pixel(s) in the source image to the grey pixel,nothing needs to be done (i.e., the grey pixel is extracted from thecolor image).

Similarly, during the scanning of the source image, each of the detectedcolor (non-grey) pixels of the source image is further evaluated orchecked. If there is/are neighboring grey pixel(s) in the source imageto the color pixel, the color pixel is replaced with a grey pixel (orconverted to a grey pixel) and added to the monochrome image at theequivalent coordinates with respect to the source image. If there is/areno neighboring grey pixel(s) in the source image to the color pixel,nothing needs to be done (i.e., the color pixel is extracted from themonochrome image).

In such embodiment, the process of checking neighboring color/greypixel(s) and adding grey pixel(s) to the color and/or monochromeimage(s) if neighboring color/grey pixel(s) is/are found is defined asprint trapping. Print trapping can create an overlap of pixels betweenthe color image and the monochrome image which allows for some variancein the printer registration and avoids gaps between CMY and K regions.Methods and systems described herein scan all pixels in the source colorimage and inspect neighboring pixels to determine whether print trappingshould occur.

FIG. 2C illustrates a generated color image (represented by cells) withprint trapping. In FIG. 2C, cells 215 are white. Those grey pixels 225(represented by solid shading) that have neighboring color pixel(s) inthe source image are added into the color image at the equivalentcoordinates with respect to the source image. The grid shading cells 220represent color pixels. FIG. 2D illustrates a generated color image(based on the source image FIG. 2A) with print trapping. All of thevertical bars 230 and horizontal bars 235 in FIG. 2D are in differentcolors (shown in black and/or grey). FIG. 2E illustrates a final printedresult based on the generated color image of FIG. 2D and a generatedmonochrome image based on the source image FIG. 2A. In FIG. 2E, thebackground 240 is black, the rightmost vertical bar 245 and the bottomhorizontal bar 250 are grey, and the rest vertical bars and horizontalbars are in different colors (shown in black and/or grey). FIG. 2F is aenlarge view of portion of FIG. 2E. In FIG. 2F, the background 240 isblack, the rightmost vertical bar 245 and the bottom horizontal bar 250are grey, and the rest vertical bars and horizontal bars are indifferent colors (shown in black and/or grey).

FIG. 2G illustrates a generated monochrome image (represented by cells)with print trapping, according to one embodiment. In FIG. 2G, cells 270are white. Cells 260 (with solid shading) are grey pixels. Those colorpixels (at the locations of cells 265) that have neighboring greypixel(s) in the source image are replaced with grey pixels 265 (orconverted with grey pixels, and a gradient is applied, which isdescribed in the following sections) and added into the monochrome imageat the equivalent coordinates with respect to the source image. The greypixels with gradient applied are represented by the cells 265 with downdiagonal shading.

With print trapping, the color image and the monochrome image haveoverlapping pixels. The overlapping pixels can allow for minorregistration variance and avoid areas in which the card substrate showsthrough.

As shown in FIG. 2G, those color pixels (at the locations of cells 265)that have neighboring grey pixel(s) in the source image are replacedwith grey pixels 265 with gradient applied and added into the monochromeimage. In addition to the gradient, when preforming print trapping, someother parameters can be used. The parameters for printing trappingincludes (1) the direction pixel spread is applied, (2) the depth ofpixel spread desired, and/or (3) the desire to apply a gradient tospread pixels which fade to white the further from the color/monochromeedge.

In print trapping, grey pixels are added into the otherwise (grey/color)extracted area in the color and/or monochrome images when neighboringcolor/grey pixel(s) is/are found. This process of adding the grey pixels(when neighboring color/grey pixel(s) is/are found) can be defined aspixel spread. Pixel spread can have direction and depth. As shown inFIG. 2C, pixel spread is to the left direction. In FIG. 2G, pixel spreadis to the right direction. In FIGS. 2C and 2G, the depth (which isdescribed in the following sections) of pixel spread is one. Duringprinting setup, a user can select which direction pixels will spreadinto an otherwise (grey/color) extracted area and the depth of pixelspread.

FIG. 3A illustrates the directions for detecting neighboring pixels,according to one embodiment. As shown in FIG. 3A, the 5×5 cellsrepresent four different directions for detecting neighboring pixels(details will be described later, see FIGS. 5 and 6). The middle pixel320 is the control pixel (shown as white for demonstration only) andrepresents the pixel being evaluated for print trapping (i.e. whether torender the control pixel on the color image or the monochrome image).For example, if the middle pixel 320 is a gray pixel, the neighboringpixels are inspected to determine if there is an adjacent color pixel.The actual pixel cells that are inspected are determined from whichdirection pixel spread is desired. The cells 300 (4 at the top) withhorizontal shading represent neighboring pixels above the control pixeland can result in a down direction of pixel spread when the neighboringpixels are not targeting the same color or monochrome image (e.g. thecontrol pixel is a grey pixel and the neighboring pixel is a colorpixel). Similarly, the cells 305 (4 at the bottom) with vertical shadingrepresent an up direction of pixel spread. The cells 315 (7 at the left)with trellis shading represent a right direction of pixel spread. Thecells 310 (7 at the right) with up diagonal shading represent a leftdirection of pixel spread.

During the process of scanning the source image and generating the colorimage, when a grey pixel of the source image is detected during thescanning process, a color pixel within one or more of the fourdirections (up, down, left, and/or right, which can be chosen in theprinting setup) of the detected grey pixel (which can be the controlpixel as shown in FIG. 3A) is searched. If a color pixel is found in thepredetermined direction(s), the grey pixel (the control pixel) is addedto the color image at the equivalent coordinates with respect to thesource image. If no color pixel is found in the predetermineddirection(s), nothing needs to be done. The direction(s) of pixel spreadcan provide ability to constrain print trapping to a particulardirection (or particular directions).

Similarly, during the process of scanning the source image andgenerating the monochrome image, when a color pixel of the source imageis detected during the scanning process, a grey pixel within one or moreof the four directions (up, down, left, and/or right, which can bechosen in the printing setup) of the detected color pixel (which can bethe control pixel as shown in FIG. 3A) is searched. If a grey pixel isfound in the predetermined direction(s), the color pixel (the controlpixel) is replaced with a grey pixel (or converted to a grey pixel) andadded to the monochrome image at the equivalent coordinates with respectto the source image. If no grey pixel is found in the predetermineddirection(s), nothing needs to be done.

It will be appreciated that print trapping can apply to the color imageonly, to the monochrome image only, or to both color and monochromeimages. A user can configure the options during printing setup.

FIG. 3B illustrates the pixel spread with a depth of one, according toone embodiment. As shown in FIG. 3B, the pixel spread in any particulardirection (up, down, left, and/or right) has a depth of one. The depthof pixel spread is defined as how many levels of neighboring pixels ofthe middle control pixel 325 are to be checked in a particulardirection. For example, as shown in FIG. 3B, in the up direction fordetecting neighboring pixels (i.e., down direction for pixel spread),one level of pixel(s) is checked with respect to the middle controlpixel 325. The total pixels checked in the one level (in the updirection for detecting neighboring pixels) are one (marked as “1” inFIG. 3B). Similarly, in the down direction for detecting neighboringpixels (i.e., up direction for pixel spread), one level of pixel(s) ischecked with respect to the middle control pixel 325. The total pixelschecked in the one level (in the down direction for detectingneighboring pixels) are one (marked as “5” in FIG. 3B). In the leftdirection for detecting neighboring pixels (i.e., right direction forpixel spread), one level of pixel(s) is checked with respect to themiddle control pixel 325. The total pixels checked in the one level (inthe left direction for detecting neighboring pixels) are three (markedas “6”, “7”, and “8” in FIG. 3B). In the right direction for detectingneighboring pixels (i.e., left direction for pixel spread), one level ofpixel(s) is checked with respect to the middle control pixel 325. Thetotal pixels checked in the one level (in the right direction fordetecting neighboring pixels) are three (marked as “2”, “3”, and “4” inFIG. 3B). A user can configure the depth of pixel spread in the printingsetup.

FIG. 3C illustrates the pixel spread with a depth of two, according toone embodiment. As shown in FIG. 3C, the pixel spread in any particulardirection (up, down, left, and/or right) has a depth of two. Forexample, as shown in FIG. 3C, in the up direction for detectingneighboring pixels, two levels of pixel(s) are checked with respect tothe middle control pixel 330. The total pixels checked in the two levels(in the up direction for detecting neighboring pixels) are four (markedas “1”, “9”, “10”, and “11” in FIG. 3C). Similarly, in the downdirection for detecting neighboring pixels, two levels of pixel(s) arechecked with respect to the middle control pixel 330. The total pixelschecked in the two levels (in the down direction for detectingneighboring pixels) are four (marked as “5”, “15”, “16”, and “17” inFIG. 3C). In the left direction for detecting neighboring pixels, twolevels of pixel(s) are checked with respect to the middle control pixel330. The total pixels checked in the two levels (in the left directionfor detecting neighboring pixels) are six (marked as “6”, “7”, “8”,“18”, “19”, and “20” in FIG. 3C). In the right direction for detectingneighboring pixels, two levels of pixel(s) are checked with respect tothe middle control pixel 330. The total pixels checked in the two levels(in the right direction for detecting neighboring pixels) are six(marked as “2”, “3”, “4”, “12”, “13”, and “14” in FIG. 3C).

FIG. 3D illustrates the pixel spread with a depth of three, according toone embodiment. As shown in FIG. 3D, the pixel spread in any particulardirection (up, down, left, and/or right) has a depth of three. Forexample, as shown in FIG. 3D, in the up direction for detectingneighboring pixels, three levels of pixel(s) are checked with respect tothe middle control pixel 335. The total pixels checked in the threelevels (in the up direction for detecting neighboring pixels) are nine(marked as “1”, “9”-“11” and “21”-“25” in FIG. 3D). Similarly, in thedown direction for detecting neighboring pixels, three levels ofpixel(s) are checked with respect to the middle control pixel 335. Thetotal pixels checked in the three levels (in the down direction fordetecting neighboring pixels) are nine (marked as “5”, “15”-“17” and“33”-“37” in FIG. 3D). In the left direction for detecting neighboringpixels, three levels of pixel(s) are checked with respect to the middlecontrol pixel 335. The total pixels checked in the three levels (in theleft direction for detecting neighboring pixels) are 13 (marked as“6”-“8”, “18”-“20” and “38”-“44” in FIG. 3D). In the right direction fordetecting neighboring pixels, three levels of pixel(s) are checked withrespect to the middle control pixel 335. The total pixels checked in thethree levels (in the right direction for detecting neighboring pixels)are 13 (marked as “2”-“4”, “12”-“14” and “26”-“32” in FIG. 3D).

During the process of scanning the source image and generating the colorand/or monochrome images, methods and systems described herein canevaluate the detected control pixel (grey pixel for the color image andcolor pixel for the monochrome image) and search the neighboring pixelswithin the predetermined direction and depth of the pixel spread. Thesearching order of the neighboring pixels is noted by the value in thecells (for example, 1-44 in FIG. 3D) and is dependent on whichquadrant/direction(s) and depth of pixel spread the printing setup isconfigured to inspect. For example, if only “up” direction for detectingneighboring pixels (or “down” direction for pixel spread) is configuredto inspect and the depth of pixel spread is configured to be three, theneighboring pixels “1”, “9”-“11” and “21”-“25” of the detected controlpixel are checked.

It will be appreciated that when the depth of pixel spread is configuredto be greater than one, the number of neighboring pixel to be checkedincreases compared with the number of neighboring pixel to be checkedwhen the depth of pixel spread is configured to be one. The greater thedepth, the greater the number of neighboring pixel to be checked is. Tosimplify the checking process when the depth of pixel spread isconfigured to be greater than one, if it is determined that the middlecontrol pixel is surrounded by all white pixels, the check process canbe stopped—the control pixel is not added as a grey pixel to either thecolor image or the monochrome image.

The generated color image contains all color pixels of the source imageand grey pixels added from print trapping process. The monochrome imagecontains all grey pixels of the source image and grey pixels added fromprint trapping process. All remaining pixels (not color or grey) for thecorresponding color image or monochrome image are rendered with whitepixels.

The grey pixels added into the color and/or monochrome images duringprint trapping (i.e., the spread pixels) can apply a gradient (or calledtrap gradient). The applied gradient can gradually fade the spreadpixels toward white when the spread pixels are further away from thecolor/monochrome edge. See FIG. 2G for an example where a gradient isapplied to the spread pixels. A user can configure the trap gradient inthe printing setup.

Applying gradient on spread pixels during print trapping can be definedas blending. Blending can soften the effects of print trapping byreducing the visibility of overlapping area between the color image andthe monochrome image.

As discussed before, print trapping can create a pixel overlap betweenareas of the color and monochrome images. The overlapped area can benoticeable on a printed plastic card. For example, during the printtrapping process on a color image, the grey pixels of the source imagethat have neighboring pixels (in the predetermined pixel spreaddirection(s) and within the predetermined pixel spread depth) are addedinto the color image. When generating the monochrome image, all greypixels of the source image are added into the monochrome image. Thus, inthe overlapping area, the grey pixels are on both the color image andthe monochrome image. When perform CMYK printing, the color image usesCMY to render all the pixels of the color image (including the greypixels from print trapping), and the monochrome image uses K to renderall the pixels of the monochrome image. Drawing the same pixels (i.e.,the overlapping grey pixels) twice can result in an overall darkerregion on the printed plastic card and the overlapped area can benoticeable.

Methods and system described herein can apply blending during the printtrapping process. During the print trapping process on the color image,a user configurable gradient can be applied to the grey pixels (thathave neighboring color pixels in the source image) before the greypixels being added to the color image. Similarly, during the printtrapping process on the monochrome image, a user configurable gradientcan be applied to the color pixels (that have neighboring grey pixels inthe source image) before the color pixels being converted to grey pixelsand/or the converted grey pixels being added to the monochrome image.Applying a gradient on a grey pixel transitions the RGB values of thegrey pixels towards white (R=255, G=255, B=255).

For a configured pixel spread depth, for example, the depth is 5,different gradients can be apply to different depth (or level) of thespread grey pixels on the color image only, on the monochrome imageonly, or on both the color and monochrome images. Different gradientsapplied on the grey pixels can result in different degree of transitionof the RGB values of the grey pixels towards white. In one embodiment,different gradients can be applied so that the RGB values of the greypixels from depth 1 to depth 5 can be gradually transitioned towardswhite. A user can configure the blending to set up a linear transition,a ‘faster’ transition, or a ‘slower’ transition towards white. In oneembodiment, the blending option can also be disabled.

FIG. 4A illustrates a generated color image without print trapping. Thegenerated color image contains only color pixels 400 (shown in blackand/or grey). FIG. 4B illustrates the color image of FIG. 4A with printtrapping and a pixel spread depth of 5, shown in black and/or grey. InFIG. 4B, 400 represent the color pixels, and 405 represent the spreadpixels. FIG. 4C illustrates the color image of FIG. 4A with printtrapping, liner blending, and a pixel spread depth of 5, shown in blackand/or grey. In FIG. 4C, 400 represent the color pixels, and 410represent the spread pixels with liner blending.

It will be appreciated that print trapping is needed because of inherentregistration variance when applying the rendered images to the cardsubstrate. The degree of registration variance may not necessarily befixed (or constant) between printers or jobs. In one embodiment, printtrapping may create overlapping areas to address the worst registrationvariance scenario. In such embodiment, print trapping may create moreoverlapping area than needed, and blending can help soften the effect.

In operation, the generated color and monochrome images (for example,after pixel extraction, perceptual grey detection, print trapping,and/or blending) are sent by, for example, the controller, to theplastic card printer with two separate function calls to specify whichribbon panels to use for image rendering (CMY for the color imageincluding any spread grey pixels, or K for the monochrome image).

It will be appreciated that there can be alternative methods toimplement the print trapping and/or blending processes. For example,there can be alternative algorithm for detecting neighboring pixels.Regions of the source image can be scanned with multiple sweeps toidentify pixel makeup and trapping region. For another example, therecan be alternative formulas for greyscale variance value and forcolor-to-grey conversion. For yet another example, there can bealternative ways for drawing the grey pixel trapping/overlapping regionon the color image. An intermediate color pixel rather than compositegrey can be used in print trapping on the color image.

FIG. 5 illustrates a diagram of generating a color image based on asource image. The processes described in the diagram of FIG. 5 can beperformed, for example, by the controller. The processes in FIG. 5 arebased off the similar or same processes discussed in the previoussections. The source image is the image that a user would like to printon a plastic card. Methods and systems described herein can achieve theprint task/job by generating a color image and a monochrome image basedon the source image, using CMYK printing, printing the color image usingCMY panels, and printing the monochrome image using K panel.

In one embodiment, the color image can start with an empty image (i.e.,having size of 0). When generating the color image, the source image isscanned pixel by pixel. At 510, each pixel of the source image isevaluated based on, for example, the RGB values of the pixel. At 515, ifthe pixel being evaluated is determined to be a color pixel or a whitepixel, the process proceeds to 520. At 520, the process draws the pixelin the color image at the equivalent coordinates with respect to thesource image.

It will be appreciated that in one embodiment, when generating the colorimage, an image that has the same dimensions as the source image butfilled with all white pixels can be generated as the color image. Thencolor pixels of the source image can be drawn (or added/copied) at theequivalent coordinates in the color image (to replace the pre-filledwhite pixels) with respect to the source image during the scanning ofthe source image. In such embodiment, since the color image has alreadybeen pre-filled with white pixels, if there is a need to add whitepixels to the color image, nothing needs to be done.

At 515, if the pixel being evaluated is neither a color nor a whitepixel, the process proceeds to 525. At 525, the print trappingconfiguration is checked. If the print trapping feature is not enabled,the process proceeds to 535. At 535, a white pixel is drawn at theequivalent coordinates (of the pixel being evaluated) in the color imagewith respect to the source image. If the print trapping feature isenabled, the process proceeds to 530.

At 530, neighboring color pixels of the pixel being evaluated aresearched. The current pixel spread depth for the search is n (startingwith 1). It will be appreciated that a user can define the direction ofpixel spread. The process then proceeds to 540.

At 540, if an adjacent (i.e., neighboring) color pixel (of the pixelbeing evaluated) at pixel spread depth n is found, the process proceedsto 550 or optional 545. At 550, the process draws the pixel (beingevaluated) in the color image at the equivalent coordinates with respectto the source image. At 545, blending is applied to the pixel beingevaluated. Then the process proceeds to 550.

At 540, if an adjacent (i.e., neighboring) color pixel (of the pixelbeing evaluated) at pixel spread depth n is not found, the processproceeds to 555. At 555, if it is determined that all surrounding pixels(of the pixel being evaluated) are white, the process proceeds to 565.At 565, a white pixel is drawn at the equivalent coordinates (of thepixel being evaluated) in the color image with respect to the sourceimage.

At 555, if it is determined that not all surrounding pixels (of thepixel being evaluated) are white, the process proceeds to 560. At 560, nis increased by 1. Then the process proceeds to 570. At 570, if thecurrent pixel spread depth n exceeds the configured maximum pixel spreaddepth, the process proceeds to 565. At 570, if the current pixel spreaddepth n is equal to or less than the configured maximum pixel spreaddepth, the process proceeds back to 540.

After 520, 535, 550, or 565, the actions on the current pixel (the pixelbeing evaluated) are complete, and the process moves to the next pixelof the source image and repeat the processes described in the diagram ofFIG. 5.

FIG. 6 illustrates a diagram of generating a monochrome image based on asource image. The processes described in the diagram of FIG. 6 can beperformed, for example, by the controller. The processes in FIG. 6 arebased off the similar or same processes discussed in the previoussections. The source image is the image that a user would like to printon a plastic card. Methods and systems described herein can achieve theprint task/job by generating a color image and a monochrome image basedon the source image, using CMYK printing, printing the color image usingCMY panels, and printing the monochrome image using K panel.

In one embodiment, the monochrome image can start with an empty image(i.e., having size of 0). When generating the monochrome image, thesource image is scanned pixel by pixel. At 610, each pixel of the sourceimage is evaluated based on, for example, the RGB values of the pixel.At 615, if the pixel being evaluated is determined to be a grey pixel ora white pixel, the process proceeds to 620. At 620, the process drawsthe pixel in the monochrome image at the equivalent coordinates withrespect to the source image.

It will be appreciated that in one embodiment, when generating themonochrome image, an image that has the same dimensions as the sourceimage but filled with all white pixels can be generated as themonochrome image. Then grey pixels of the source image can be drawn (oradded/copied) at the equivalent coordinates in the monochrome image (toreplace the pre-filled white pixels) with respect to the source imageduring the scanning of the source image. In such embodiment, since themonochrome image has already been pre-filled with white pixels, if thereis a need to add white pixels to the monochrome image, nothing needs tobe done.

At 615, if the pixel being evaluated is neither a grey nor a whitepixel, the process proceeds to 680. At 680, the greyscale variance checkconfiguration is checked. If the greyscale variance check is enabled,the process proceeds to 685. At 685, if the pixel being evaluated isperceptual grey, the pixel being evaluated is converted to a grey pixel,and the process proceeds to 620. At 620, the process draws the convertedpixel in the monochrome image at the equivalent coordinates with respectto the source image.

At 685, if the pixel being evaluated is not perceptual grey, the processproceeds to 625. At 680, if the greyscale variance check is not enabled,the process also proceeds to 625. At 625, the print trappingconfiguration is checked. If the print trapping feature is not enabled,the process proceeds to 635. At 635, a white pixel is drawn at theequivalent coordinates (of the pixel being evaluated) in the monochromeimage with respect to the source image. If the print trapping feature isenabled, the process proceeds to 630.

At 630, neighboring grey pixels of the pixel being evaluated aresearched. The current pixel spread depth for the search is n (startingwith 1). It will be appreciated that a user can define the direction ofpixel spread. The process then proceeds to 640.

At 640, if an adjacent (i.e., neighboring) grey pixel (of the pixelbeing evaluated) at pixel spread depth n is found, the process proceedsto 650 or optional 645. If 645 is not performed, at 650, the pixel beingevaluated is converted to a grey pixel, and the process draws theconverted pixel in the monochrome image at the equivalent coordinateswith respect to the source image. At 645, the pixel being evaluated isconverted to a grey pixel, and blending is applied to the convertedpixel. Then the process proceeds to 650. If 645 is performed, at 650,the process draws the converted pixel in the monochrome image at theequivalent coordinates with respect to the source image.

At 640, if an adjacent (i.e., neighboring) grey pixel (of the pixelbeing evaluated) at pixel spread depth n is not found, the processproceeds to 655. At 655, if it is determined that all surrounding pixels(of the pixel being evaluated) are white, the process proceeds to 665.At 665, a white pixel is drawn at the equivalent coordinates (of thepixel being evaluated) in the monochrome image with respect to thesource image.

At 655, if it is determined that not all surrounding pixels (of thepixel being evaluated) are white, the process proceeds to 660. At 660, nis increased by 1. Then the process proceeds to 670. At 670, if thecurrent pixel spread depth n exceeds the configured maximum pixel spreaddepth, the process proceeds to 665. At 670, if the current pixel spreaddepth n is equal to or less than the configured maximum pixel spreaddepth, the process proceeds back to 640.

After 620, 635, 650, or 665, the actions on the current pixel (the pixelbeing evaluated) are complete, and the process moves to the next pixelof the source image and repeat the processes described in the diagram ofFIG. 6.

Print Commands

The source image is typically a composite image that includes allrelevant text (e.g. personal account number, customer name, etc.),customer photo, and background image. Processing the source image (forexample, through the pixel extraction, print trapping, and/or blendingprocesses) can result in a color digital image and a monochrome digitalimage. The color digital image and the monochrome digital image can besent to the plastic card printing mechanism with two separate functioncalls to specify which ribbon panels to use for image rendering (forexample, one function call is for CMY for the color image and the secondfunction call can be for K for the monochrome image). The function callfor the color image can include all the color pixels of the source imagewith grey pixels being extracted, the spread pixels (through printtrapping), and/or blending (CMY+blending) being applied to the spreadpixels. The function call for the monochrome image can include all thegrey pixels of the source image with color pixels being extracted, thespread pixels (through print trapping), and/or blending (K+blending)being applied to the spread pixels.

Card Set-Up

A user can configure the printing setup for printing plastic cards viafor example, a Graphic User Interface (GUI). The user can configure theprinting setup with proper aliasing, layering, saturation and/ordesaturation. In one embodiment, the user can set up printing color textor color logos as aliased. The user can also setup the supplied originalimage in layers. For example, bank logo, identifiers, and/or text can beon a different layer than the grey/black background image. Backgroundimage/layer (that is to print using the K panel only) can be configuredto be desaturated. It will be appreciated that saturation is typicallyused to describe the intensity of color in the image. A saturated imagetypically has overly bright colors. Aliasing, layering andsaturation/desaturation are well known techniques in the art of cardset-up for card printing.

It will also be appreciated that the processing operation(s) performedon the plastic card can include one or more of multi-color printing,monochromatic printing, laminating one or more sides of a card, encodinga magnetic stripe on the card, programming of an integrated circuit chipembedded in the card, embossing, indent printing, card cleaning, laserprinting, card de-bowing, and the like.

FIG. 7 illustrates a portion of a plastic card printing mechanism 100used in a plastic card processing mechanism on which the techniquesdescribed herein can be implemented to print vibrant grey cards. Theprinting mechanism 100 is illustrated as performing retransfer printing.However, the printing mechanism 100 can be configured to performdirect-to-card printing as well.

The specific construction and operation of retransfer printers,including the print ribbon, the retransfer film, printing an image onthe retransfer film, and transferring the printed image onto a surfaceof a card, is well known in the art. One example of retransfer printingis disclosed in U.S. Pat. No. 6,894,710 among many others. U.S. Pat. No.6,894,710 is incorporated herein by reference in its entirety. Theillustrated retransfer printing configuration of the printing mechanism100 includes a print side that includes a print ribbon supply 102 fromwhich a supply of print ribbon 104 is supplied, and a print ribbontake-up 106 that takes-up used print ribbon 104. The print ribbon isdirected past a print head 108, which in the illustrated example can bestationary, and which conducts printing using the print ribbon 104 ontoa retransfer film 110. After printing, the used print ribbon 104 is thenwound onto the take-up 106.

The retransfer film 110 is supplied from a film supply 112 on aretransfer side, and after retransfer the remaining film 110 is woundonto a film take-up 114 also on the retransfer side. The retransfer film110 is directed past a platen roller 116 positioned opposite the printhead 108 and which in the illustrated example can be moved toward andaway from the print head 108 to press the retransfer film 110 and theprint ribbon 104 between the print head 108 and the platen roller 116during printing onto the retransfer film 110. The retransfer film 110can be any retransfer film 110 that has a transferrable materiallayer(s) that can be transferred from the retransfer film 110 onto theplastic card substrate.

The section of the retransfer film 110 with the printed image is thenadvanced to a transfer station 120 where the intermediate retransfermaterial bearing the printed image is transferred onto the surface of acard 122. In this example, the transfer station 120 includes a heatedtransfer mechanism 124, for example a transfer roller, that is movabletoward and away from a fixed platen 126 positioned on the opposite sideof a card travel or transport path. The heated transfer mechanism 124presses the portions of the retransfer film 110 containing the printedimage against the card 122 which is backed by the platen 126, with theretransfer film 110 and the card 122 then being transported togetherpast the heated transfer mechanism 124 to transfer the transferrablematerial layer(s) of the retransfer film 110 containing the printedimage onto the card surface. The retransfer film 110 and the card 122are then transported to a stripping station 128 where the transferrablematerial layer(s) of the retransfer film 110 is stripped from the card122 leaving behind the retransfer material bearing the printed image onthe card 122. The remainder of the retransfer film 110, minus thetransferred material is then wound onto the film take-up 114. The card122 is transported along the card travel path by a card transportmechanism well known in the art, such as sets of rollers.

A controller 130 controls operation of the printing mechanism 100. Inone embodiment, the controller 130 can implement the pixel extractionprocess and/or a print trapping process described above, as well asgenerate and send the CMY+blending print command and the K+blendingprint command to the printing mechanism 100. The controller 130 can alsocontrol the card set-up described above.

The examples disclosed in this application are to be considered in allrespects as illustrative and not limitative. The scope of the inventionis indicated by the appended claims rather than by the foregoingdescription; and all changes which come within the meaning and range ofequivalency of the claims are intended to be embraced therein.

The terminology used in this specification is intended to describeparticular embodiments and is not intended to be limiting. The terms“a,” “an,” and “the” include the plural forms as well, unless clearlyindicated otherwise. The terms “comprises” and/or “comprising,” whenused in this specification, indicate the presence of the statedfeatures, integers, steps, operations, elements, and/or components, butdo not preclude the presence or addition of one or more other features,integers, steps, operations, elements, and/or components.

With regard to the preceding description, it is to be understood thatchanges may be made in detail, especially in matters of the constructionmaterials employed and the shape, size, and arrangement of parts,without departing from the scope of the present disclosure. The word“embodiment” as used within this specification may, but does notnecessarily, refer to the same embodiment. This specification and theembodiments described are examples only. Other and further embodimentsmay be devised without departing from the basic scope thereof, with thetrue scope and spirit of the disclosure being indicated by the claimsthat follow.

The invention claimed is:
 1. A method of printing on a surface ofplastic card in a plastic card printing mechanism, the methodcomprising: a) obtaining a source digital image; b) scanning each pixelof the source digital image to identify each pixel as either color ormonochrome; c) generating a color digital image from the identifiedcolor pixels and a monochrome digital image from the identifiedmonochrome pixels; d) wherein c) includes, for the color digital image,replacing every pixel at coordinates corresponding to the monochromepixels with white pixels; and e) wherein c) further includes, for themonochrome digital image, replacing every pixel at coordinatescorresponding to the color pixels with white pixels; and f) sending thecolor digital image and the monochrome digital image to the plastic cardprinting mechanism, and printing the color digital image on the surfaceof the plastic card using cyan, magenta and yellow pigment ink andprinting the monochrome digital image on the surface of the plastic cardusing black pigment ink to produce a combined image on the surface. 2.The method of claim 1, wherein f) comprises printing the color digitalimage and the monochrome digital image on a transferrable printingreceptive layer of a retransfer material to produce the combined image,and thereafter transferring the transferrable printing receptive layercontaining the combined image to the surface of the plastic card.
 3. Themethod of claim 1, wherein the source digital image contains two or moreof a background image, a card issuer name, a card issuer logo, apersonal account number, a cardholder name, an expiration date, apayment network name, and a payment network logo.
 4. The method of claim1, wherein the plastic card comprises a financial card having at leastone of a magnetic stripe and an integrated circuit chip.
 5. The methodof claim 1, wherein c) further includes: 1) for the color digital image,determining if red, green, blue (RGB) values of each pixel of the sourcedigital image are substantially equal, and for every pixel of the sourcedigital image where the RGB values are substantially equal, replacingevery pixel with equal RGB values with a white pixel; and 2) for themonochrome digital image, replacing every pixel at coordinatescorresponding to the replaced pixels in 1) with grey pixels.
 6. Themethod of claim 1, wherein c) further includes applying print trappingwhen generating the color digital image, and applying print trappingwhen generating the monochrome digital image.
 7. The method of claim 6,wherein applying print trapping when generating the color digital imagecomprises: scanning each pixel in the source digital image to detectmonochrome pixels; for each detected monochrome pixel, determining ifthere are neighboring color pixels; i) if there are neighboring colorpixels, add the detected monochrome pixel to the color digital image;and ii) if there are not neighboring color pixels, change the detectedmonochrome pixel to a white pixel.
 8. The method of claim 6, whereinapplying print trapping when generating the monochrome digital imagecomprises: scanning each pixel in the source digital image to detectcolor pixels; for each detected color pixel, determining if there areneighboring monochrome pixels; if there are neighboring monochromepixels, the detected color pixel is changed to a monochrome pixel andadded to the monochrome digital image.
 9. The method of claim 6, whereinthe source digital image contains two or more of a background image, acard issuer name, a card issuer logo, a personal account number, acardholder name, an expiration date, a payment network name, and apayment network logo.
 10. The method of claim 6, wherein the plasticcard comprises a financial card having at least one of a magnetic stripeand an integrated circuit chip.
 11. A method of printing on a surface ofplastic card in a plastic card printing mechanism, the methodcomprising: a) obtaining a source digital image; b) scanning each pixelof the source digital image to identify each pixel as either color ormonochrome; c) generating a color digital image from the identifiedcolor pixels and a monochrome digital image from the identifiedmonochrome pixels; d) wherein c) includes, for the color digital image,determining if red, green, blue (RGB) values of each pixel of the sourcedigital image are substantially equal, and for every pixel of the sourcedigital image where the RGB values are substantially equal, replacingevery pixel with equal RGB values with a white pixel; e) wherein c)further includes, for the monochrome digital image, replacing everypixel at coordinates corresponding to the replaced pixels in d) withgrey pixels; and f) sending the color digital image and the monochromedigital image to the plastic card printing mechanism, and printing thecolor digital image on the surface of the plastic card using cyan,magenta and yellow pigment ink and printing the monochrome digital imageon the surface of the plastic card using black pigment ink to produce acombined image on the surface.
 12. The method of claim 11, wherein f)comprises printing the color digital image and the monochrome digitalimage on a transferrable printing receptive layer of a retransfermaterial to produce the combined image, and thereafter transferring thetransferrable printing receptive layer containing the combined image tothe surface of the plastic card.
 13. The method of claim 11, wherein thesource digital image contains two or more of a background image, a cardissuer name, a card issuer logo, a personal account number, a cardholdername, an expiration date, a payment network name, and a payment networklogo.
 14. The method of claim 11, wherein the plastic card comprises afinancial card having at least one of a magnetic stripe and anintegrated circuit chip.
 15. The method of claim 11, wherein c) furtherincludes pixel extraction for the color digital image and pixelextraction for the monochrome digital image.
 16. The method of claim 11,wherein c) further includes applying print trapping when generating thecolor digital image, and applying print trapping when generating themonochrome digital image.
 17. The method of claim 16, wherein applyingprint trapping when generating the color digital image comprises:scanning each pixel in the source digital image to detect monochromepixels; for each detected monochrome pixel, determining if there areneighboring color pixels; 1) if there are neighboring color pixels, addthe detected monochrome pixel to the color digital image; and 2) ifthere are not neighboring color pixels, change the detected monochromepixel to a white pixel.
 18. The method of claim 16, wherein applyingprint trapping when generating the monochrome digital image comprises:scanning each pixel in the source digital image to detect color pixels;for each detected color pixel, determining if there are neighboringmonochrome pixels; if there are neighboring monochrome pixels, thedetected color pixel is changed to a monochrome pixel and added to themonochrome digital image.
 19. The method of claim 16, wherein the sourcedigital image contains two or more of a background image, a card issuername, a card issuer logo, a personal account number, a cardholder name,an expiration date, a payment network name, and a payment network logo.20. The method of claim 16, wherein the plastic card comprises afinancial card having at least one of a magnetic stripe and anintegrated circuit chip.